/**
 * MeetRoom.java
 */
package com.prs.crm.domain.meeting;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.hr.Dept;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.person.Department;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

/**
 * @author ZhuDongMei
 * @E-mail:1223984339@qq.com
 * @qq:1223984339
 * @version 创建时间：2011-3-16 上午11:12:28 简单说明
 */

@Entity
@Table(name="meet_room")
public class MeetRoom extends BaseEntity {

	/**
	 * 会议室设置
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	/**
	 * 会议室编号
	 */
	private Integer id;
	/**
	 * 会议室名称
	 */
	private String name;
	
	/**
	 * 容纳人数
	 */
	private Integer number;
	
	/**
	 * 会议室所属
	 */
    private String belong;
    @ManyToOne
    private Dept dept;
	/**
	 * 会议室管理人员
	 */
	private String joinAdminPerson;
	/**
	 * 会议室管理人员编号
	 */
	private String joinAdminPersonId;
	/**
	 * 会议室预约人员
	 */
    private String person;
    private String personId;
    
//	/**
//	 * 预定确认
//	 */
//    private String comfirmBooking;
//    
	/**
	 * 会议室资源描述
	 */
    private String source;
	/**
	 * 会议资源编号
	 */
	private String sourceId;
	/**
	 * 说明
	 */
    private String state;
    public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getSourceId() {
		return sourceId;
	}
	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
//	 public String getComfirmBooking() {
//		return comfirmBooking;
//	}
//	public void setComfirmBooking(String comfirmBooking) {
//		this.comfirmBooking = comfirmBooking;
//	}
	public String getBelong() {
			return belong;
		}
		public void setBelong(String belong) {
			this.belong = belong;
		}
	public String getJoinAdminPerson() {
		return joinAdminPerson;
	}
	public void setJoinAdminPerson(String joinAdminPerson) {
		this.joinAdminPerson = joinAdminPerson;
	}
	public String getJoinAdminPersonId() {
		return joinAdminPersonId;
	}
	public void setJoinAdminPersonId(String joinAdminPersonId) {
		this.joinAdminPersonId = joinAdminPersonId;
	}
	public String getPerson() {
		return person;
	}
	public void setPerson(String person) {
		this.person = person;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	
	
}
